package com.wu.community.dao;

import com.wu.community.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 @author YanGe
 @create 2022-02-22 10:24
 */
@Mapper
public interface UserMapper {

    User selectById(int id);
    User selectByName(String name);

    int insertUser(User user);

    int updateStatus(int id, int status);

    int updateHeader(int id, String headerUrl);

    int updatePassword(int id, String password);


}
